package fic.storefinder.server.utils;

import java.io.PrintWriter;
import java.io.StringWriter;

public class ServerUtils {
	
	public static String getStringFromStackTrace(Throwable throwable) {
		StringWriter sw = new StringWriter();
		PrintWriter pw = new PrintWriter(sw);
		throwable.printStackTrace(pw);
		return sw.toString();
	}
	
}
